package cn.jbit.ams.user.pojo;

//用户信息类
public class User {
	private int userId;
	private String userName;
	private String userSex;
	private String name;
	private String usertelePhone;
	private String userAddress;
	private String password;
	private Permission permission;
	
	public User() {
		super();
	}
	public User(int userId, String userName, String userSex, String name,String usertelePhone, String userAddress, String password,
			Permission permission) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userSex = userSex;
		this.name=name;
		this.usertelePhone = usertelePhone;
		this.userAddress = userAddress;
		this.password = password;
		this.permission = permission;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserSex() {
		return userSex;
	}
	public void setUserSex(String userSex) {
		this.userSex = userSex;
	}
	public String getUsertelePhone() {
		return usertelePhone;
	}
	public void setUsertelePhone(String usertelePhone) {
		this.usertelePhone = usertelePhone;
	}
	public String getUserAddress() {
		return userAddress;
	}
	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Permission getPermission() {
		return permission;
	}
	public void setPermission(Permission permission) {
		this.permission = permission;
	}
	
	
	
}
